package edu.pitt.myptm.datamanager;

import java.util.ArrayList;
import edu.pitt.myptm.DataItem;


public class MyLog {
	private ArrayList<BeforeImage> beforeImages;
	private int transactionId;
	public MyLog(int transactionId) {
		beforeImages = new ArrayList<BeforeImage>();
		this.transactionId = transactionId;
	}
	
	public int getTransactionId() {
		return transactionId;
	}
	
	public void setTransactionId(int transactionId) {
		this.transactionId = transactionId;
	}
	public void addBeforeImage(BeforeImage image) {
		this.beforeImages.add(image);
	}
	
	public ArrayList<BeforeImage> getBeforeImages() {
		return beforeImages;
	}
}
